"""
auth : ginger

    通用路径处理
        Excel
        配置文件
        日志文件
        等

    逻辑是 通过当前文件路径 获取 项目路径 再拼接出 所有文件路径

"""
from os import path

PROJECT_PATH = path.dirname(path.dirname(__file__))

SHEET_NAME = 'Jobs'

EXCEL_PATH = path.join(PROJECT_PATH + '/', 'data', 'jobs_info.xlsx')

COOKIE_CONF_PATH = path.join(PROJECT_PATH + '/', 'conf', 'cookies.conf')

LOG_PATH = path.join(PROJECT_PATH + '/', 'log', 'log_unit_time.out')

CONFIGURATION_PATH = path.join(PROJECT_PATH + '/', 'conf', 'configuration.conf')

if __name__ == '__main__':
    print(__file__)
    print(PROJECT_PATH)
    print(EXCEL_PATH)
    print(COOKIE_CONF_PATH)
